package com.qidian.mes.pojo;

import java.util.Date;

/**
 * @Author 严伟伦
 * @Company 无
 * @Description
 * @Date: 2024/10/22 13:33
 */
public class TemplateProduct {
    private Long recordId;
    private Long templateId;
    private Long itemId;
    private String itemCode;
    private String itemName;
    private String specification;
    private String unitOfMeasure;
    private int itemType;
    private int quantityCheck;
    private int quantityUnqualified;
    private double crRate;
    private double majRate;
    private double minRate;
    private String remark;
    private int deleteStatus;
    private String createBy;
    private Date createTime;
    private String updateBy;
    private Date updateTime;

    public TemplateProduct(Long recordId, Long templateId, Long itemId, String itemCode, String itemName, String specification, String unitOfMeasure, int itemType, int quantityCheck, int quantityUnqualified, double crRate, double majRate, double minRate, String remark, int deleteStatus, String createBy, Date createTime, String updateBy, Date updateTime) {
        this.recordId = recordId;
        this.templateId = templateId;
        this.itemId = itemId;
        this.itemCode = itemCode;
        this.itemName = itemName;
        this.specification = specification;
        this.unitOfMeasure = unitOfMeasure;
        this.itemType = itemType;
        this.quantityCheck = quantityCheck;
        this.quantityUnqualified = quantityUnqualified;
        this.crRate = crRate;
        this.majRate = majRate;
        this.minRate = minRate;
        this.remark = remark;
        this.deleteStatus = deleteStatus;
        this.createBy = createBy;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
    }


    public TemplateProduct() {
    }

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public String getItemCode() {
        return itemCode;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getUnitOfMeasure() {
        return unitOfMeasure;
    }

    public void setUnitOfMeasure(String unitOfMeasure) {
        this.unitOfMeasure = unitOfMeasure;
    }

    public int getItemType() {
        return itemType;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

    public int getQuantityCheck() {
        return quantityCheck;
    }

    public void setQuantityCheck(int quantityCheck) {
        this.quantityCheck = quantityCheck;
    }

    public int getQuantityUnqualified() {
        return quantityUnqualified;
    }

    public void setQuantityUnqualified(int quantityUnqualified) {
        this.quantityUnqualified = quantityUnqualified;
    }

    public double getCrRate() {
        return crRate;
    }

    public void setCrRate(double crRate) {
        this.crRate = crRate;
    }

    public double getMajRate() {
        return majRate;
    }

    public void setMajRate(double majRate) {
        this.majRate = majRate;
    }

    public double getMinRate() {
        return minRate;
    }

    public void setMinRate(double minRate) {
        this.minRate = minRate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getDeleteStatus() {
        return deleteStatus;
    }

    public void setDeleteStatus(int deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "templateProduct{" +
                "recordId=" + recordId +
                ", templateId=" + templateId +
                ", itemId=" + itemId +
                ", itemCode='" + itemCode + '\'' +
                ", itemName='" + itemName + '\'' +
                ", specification='" + specification + '\'' +
                ", unitOfMeasure='" + unitOfMeasure + '\'' +
                ", itemType=" + itemType +
                ", quantityCheck=" + quantityCheck +
                ", quantityUnqualified=" + quantityUnqualified +
                ", crRate=" + crRate +
                ", majRate=" + majRate +
                ", minRate=" + minRate +
                ", remark='" + remark + '\'' +
                ", deleteStatus=" + deleteStatus +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
